package com.chenchen.tiguan.venue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chenchen.tiguan.common.annotation.Excel;
import com.chenchen.tiguan.common.core.domain.BaseEntity;

/**
 * 场馆基础信息对象 venue
 * 
 * @author chenchen
 * @date 2025-04-14
 */
public class Venue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场馆唯一标识 */
    private Long venueId;

    /** 场馆名称（如“第一体育馆”） */
    @Excel(name = "场馆名称", readConverterExp = "如=“第一体育馆”")
    private String venueName;

    /** 详细地址 */
    private String address;

    /** 场馆总容量（0表示不限） */
    @Excel(name = "场馆总容量", readConverterExp = "0=表示不限")
    private Long maxCapacity;

    /** 状态（1开放，2关闭，3维护中） */
    @Excel(name = "状态", readConverterExp = "1=开放，2关闭，3维护中")
    private Long status;

    /** 基础时间段长度（单位：小时） */
    @Excel(name = "基础时间段长度", readConverterExp = "单=位：小时")
    private Long slotDuring;

    /** 场馆缩略图地址 */
    @Excel(name = "场馆缩略图地址")
    private String thumbnailUrl;

    public void setVenueId(Long venueId) 
    {
        this.venueId = venueId;
    }

    public Long getVenueId() 
    {
        return venueId;
    }
    public void setVenueName(String venueName) 
    {
        this.venueName = venueName;
    }

    public String getVenueName() 
    {
        return venueName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMaxCapacity(Long maxCapacity) 
    {
        this.maxCapacity = maxCapacity;
    }

    public Long getMaxCapacity() 
    {
        return maxCapacity;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSlotDuring(Long slotDuring) 
    {
        this.slotDuring = slotDuring;
    }

    public Long getSlotDuring() 
    {
        return slotDuring;
    }
    public void setThumbnailUrl(String thumbnailUrl) 
    {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getThumbnailUrl() 
    {
        return thumbnailUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("venueId", getVenueId())
            .append("venueName", getVenueName())
            .append("address", getAddress())
            .append("maxCapacity", getMaxCapacity())
            .append("status", getStatus())
            .append("slotDuring", getSlotDuring())
            .append("thumbnailUrl", getThumbnailUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
